package net

import (
	"core/repository"
	"core/service"
)

// RegisterLogicHandler 注册 Logic Handler
func RegisterLogicHandler(e *EventHandler) {
	userService := service.NewUserService(repository.New())
	entryHandler := NewEntryHandler(userService)
	e.RegisterLogicHandler("entryHandler.entry", entryHandler.Entry)
}
